﻿using SCM.Common;
using System.ComponentModel.DataAnnotations;

namespace SCM.Model.Model
{
    /// <summary>
    /// 请求包
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class RequestPagePack<T>
    {
        /// <summary>
        /// 内容
        /// </summary>
        [Required]
        public T Data { get; set; }

        /// <summary>
        /// 分页信息
        /// </summary>
        public PageInfo PageInfo { get; set; }
    }
}
